//
// Created on 4/3/2024.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef HARMONY_MASKEDCOMPONENTINSTANCE_H
#define HARMONY_MASKEDCOMPONENTINSTANCE_H

#include "RNOH/ComponentInstance.h"
#include "MaskedViewStackNode.h"

namespace rnoh {
    class MaskedComponentInstance : public ComponentInstance {
    private:
        MaskedViewStackNode m_stackNode;

    public:
        MaskedComponentInstance(Context context, facebook::react::Tag tag);
        void insertChild(ComponentInstance::Shared childComponentInstance, std::size_t index) override;
        MaskedViewStackNode &getLocalRootArkUINode() override;
    };
} // namespace rnoh

#endif // HARMONY_MASKEDCOMPONENTINSTANCE_H
